package com.yungu.swift.system.sys.model.dto;

import com.yungu.swift.base.model.BaseDto;

import java.util.Date;


public class SysUserDto extends BaseDto {

    /**
     * 用户状态(1:正常、2：封号)
     */
    public static final Integer STATUS_NORMAL = 1;
    public static final Integer STATUS_BLOCK = 2;
    /**
     * 用户类型 1:主账号 2：子账号
     */
    public static final Integer USER_TYPE_PRIMARY = 1;
    public static final Integer USER_TYPE_SUB = 2;


    /**
     * 用户名称
     **/
    private String userName;

    /**
     * 用户账号
     **/
    private String userAccount;

    /**
     * 密码
     **/
    private String password;

    /**
     * 头像
     **/
    private String face;

    /**
     * 用户类型（1：主账号、2：子账号）
     **/
    private Integer userType;

    /**
     * 用户角色
     **/
    private String userRole;

    /**
     * 用户状态（1:正常、2：封号）
     **/
    private Integer status;

    /**
     * 企业标识符
     **/
    private String companyUuid;

    /**
     * 代理标识符
     **/
    private String agentUuid;

    /**
     * 最后一次重置密码时间
     **/
    private Date resetPasswordDate;

    /**
     * 登录失败时间
     **/
    private Date loginErrorDate;

    /**
     * 用户手机号
     */
    private String userMobile;

    /**
     * 首次登陆（0：是、 1：否）
     */
    private Integer firstLogin;

    /*非数据库字段*/
    /**
     * 操作原因
     */
    private String reason;
    /**
     * 角色名
     */
    private String roleName;
    /**
     * 用户级别
     */
    private String level;

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCompanyUuid() {
        return companyUuid;
    }

    public void setCompanyUuid(String companyUuid) {
        this.companyUuid = companyUuid;
    }

    public String getAgentUuid() {
        return agentUuid;
    }

    public void setAgentUuid(String agentUuid) {
        this.agentUuid = agentUuid;
    }

    public Date getResetPasswordDate() {
        return resetPasswordDate;
    }

    public void setResetPasswordDate(Date resetPasswordDate) {
        this.resetPasswordDate = resetPasswordDate;
    }


    public Date getLoginErrorDate() {
        return loginErrorDate;
    }

    public void setLoginErrorDate(Date loginErrorDate) {
        this.loginErrorDate = loginErrorDate;
    }

    public Integer getFirstLogin() {
        return firstLogin;
    }

    public void setFirstLogin(Integer firstLogin) {
        this.firstLogin = firstLogin;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
}
